package com.yzyz.web.controller.visitor;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.AbstractController;

import com.yzyz.bean.scenic.AttractionsBean;
import com.yzyz.service.AttractionsService;
import com.yzyz.service.PictureService;

/**
 * 景点信息
 * @author David Sun
 * @Date   2010-4-11
 *
 */
public class AttractionsController extends AbstractController {

	private AttractionsService attractionsService;
	
	private PictureService pictureService;
	
	public void setPictureService(PictureService pictureService) {
		this.pictureService = pictureService;
	}
	public void setAttractionsService(AttractionsService attractionsService) {
		this.attractionsService = attractionsService;
	}
	@Override
	protected ModelAndView handleRequestInternal(HttpServletRequest request,
			HttpServletResponse response) throws Exception {
		AttractionsBean att = (AttractionsBean)this.attractionsService.find(Integer.valueOf(request.getParameter("attId")));
		
		return null;
	}
	
}
